﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STHPMS1.Common.C_Enum
{
    [Flags]
    [Description("路段划分类型")]
    public enum RoadDividedEnum
    {
        /// <summary>
        /// 行政区域 1
        /// </summary>
        [Description("行政区域")]
        Admdiv = 1,
        /// <summary>
        /// 管养单位 2
        /// </summary>
        [Description("管养单位")]
        Manaut = 1 << 1,
        /// <summary>
        /// 技术等级 4
        /// </summary>
        [Description("技术等级")]
        RdClass = 1 << 2,
        /// <summary>
        /// 路面结构 8
        /// </summary>
        [Description("路面结构")]
        PavementType = 1 << 3,
        /// <summary>
        /// 车道数 16
        /// </summary>
        [Description("车道数")]
        RdNum = 1 << 4,
        /// <summary>
        /// 路面宽度 32
        /// </summary>
        [Description("路面宽度")]
        RdWidth = 1 << 5,
        /// <summary>
        /// 土基类型 64
        /// </summary>
        [Description("土基类型")]
        Subgrade = 1 << 6,
        /// <summary>
        /// 交通量 128
        /// </summary>
        [Description("交通量")]
        Traffic = 1 << 7,
        /// <summary> 256
        /// 有无路肩
        /// </summary>
        [Description("有无路肩")]
        Shoulder = 1 << 8,
        /// <summary>
        /// 构造物 512
        /// </summary>
        [Description("构造物")]
        Sturcture = 1 << 9,
        /// <summary>
        /// 行车方向 1024
        /// </summary>
        [Description("行车方向")]
        Direction = 1 << 10
    }
}
